package com.example.demo.entity;

import java.util.Date;

/**
 * @Author: Zhou ShiYang
 * @Description:
 * @Date:Create：in 2020/7/28 14:55
 **/

public class User {
    /**
     * `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
     * `mobile` varchar(32) NULL DEFAULT NULL COMMENT '登录名，使用电话号码作为登录名',
     * `password` varchar(64) NULL DEFAULT NULL COMMENT '登录密码',
     * `sex` varchar(32) NULL DEFAULT NULL COMMENT '性别',
     * `birthdate` datetime(0) NULL DEFAULT NULL COMMENT '出生日期',
     * `address` varchar(250) NULL DEFAULT NULL COMMENT '详细地址',
     * `email` varchar(32) NULL DEFAULT NULL COMMENT '邮箱',
     * `state` varchar(32) NULL DEFAULT NULL COMMENT '-1:表示删除 ，1：正常状态',
     * `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
     * `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
     */
    private Integer id;
    private String mobile;
    private String password;
    private String sex;
    private Date birthdate;
    private String address;
    private String email;
    private String state;
    private Date createTime;
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(Date birthdate) {
        this.birthdate = birthdate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
